package com.company.service;

import com.company.dao.CompanyinfoDao;
import com.company.entity.CompanyInfo;

public class CompanyinfoService {
	private CompanyinfoDao companyinfoDao;
	private CompanyInfo companyInfo;

	public CompanyinfoDao getCompanyinfoDao() {
		return companyinfoDao;
	}

	public void setCompanyinfoDao(CompanyinfoDao companyinfoDao) {
		this.companyinfoDao = companyinfoDao;
	}

	public CompanyInfo getCompanyInfo() {
		return companyInfo;
	}

	public void setCompanyInfo(CompanyInfo companyInfo) {
		this.companyInfo = companyInfo;
	}

	public String query() {
		return companyinfoDao.query();
	}


	public CompanyInfo list() {
		return companyinfoDao.list();
	}

	public void update(CompanyInfo companyInfo) {
		companyinfoDao.update(companyInfo);
	}
}
